package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:18
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysRoleResourceRelateDAO extends IDataAccessInterface<SysRoleResourceRelate, SysRoleResourceRelateDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "SYS_ROLE_RESOURCE_RELATE";

    /**
     * Mapped Field ID
    */
    static final String Id = "SYS_ROLE_RESOURCE_RELATE.ID";

    /**
     * Mapped Field RELATE_CODE
    */
    static final String RelateCode = "SYS_ROLE_RESOURCE_RELATE.RELATE_CODE";

    /**
     * Mapped Field RELATE_NAME
    */
    static final String RelateName = "SYS_ROLE_RESOURCE_RELATE.RELATE_NAME";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "SYS_ROLE_RESOURCE_RELATE.REMARKS";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "SYS_ROLE_RESOURCE_RELATE.STATUS";

    /**
     * Mapped Field SYS_RESOURCE_ID
    */
    static final String SysResourceId = "SYS_ROLE_RESOURCE_RELATE.SYS_RESOURCE_ID";

    /**
     * Mapped Field SYS_ROLE_ID
    */
    static final String SysRoleId = "SYS_ROLE_RESOURCE_RELATE.SYS_ROLE_ID";

    /**
     * Mapped Attribute sysRoleName
    */
    static final String SysRoleName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysRoleDAO.RoleName,
            com.ourteam.system.dao.ISysRoleDAO.EntityName + ".", "sysRole.");

    /**
     * Mapped Attribute sysResourceTitleKey
    */
    static final String SysResourceTitleKey = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysResourceDAO.ResourceTitleKey,
            com.ourteam.system.dao.ISysResourceDAO.EntityName + ".",
            "sysResource.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    SysRoleResourceRelate findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute relateCode
         */
        static final String RelateCode = "relateCode";

        /**
         * Attribute relateName
         */
        static final String RelateName = "relateName";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute sysResourceId
         */
        static final String SysResourceId = "sysResourceId";

        /**
         * Attribute sysRoleId
         */
        static final String SysRoleId = "sysRoleId";

        /**
         * Attribute sysResourceTitleKey
         */
        static final String SysResourceTitleKey = "sysResourceTitleKey";

        /**
         * Attribute sysRoleName
         */
        static final String SysRoleName = "sysRoleName";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
